package com.mirana.module.common.model.dictpm;

import com.mirana.frame.base.model.BaseModel;
import com.mirana.frame.db.base.anno.ColumnPlus;
import com.mirana.frame.db.base.anno.FKPlus;
import com.mirana.frame.db.base.anno.Notes;
import com.mirana.frame.db.base.anno.TablePlus;
import lombok.Data;

@Data
@Notes("项目资产_软件服务表")
@TablePlus(name = "dict_project_server")
public class DictProjectServer extends BaseModel {

    @Notes("项目id，外键")
    @ColumnPlus()
    @FKPlus(tableClass = DictProject.class)
    private Long project_id;

    @Notes("软件/服务名称")
    @ColumnPlus(default_val = "''", length = "20")
    private String name;

    @Notes("访问地址")
    @ColumnPlus(length = "100")
    private String url;

    @Notes("ip地址")
    @ColumnPlus(default_val = "''", length = "20")
    private String ip;

    @Notes("端口")
    @ColumnPlus(default_val = "''", length = "20")
    private String port;

    @Notes("用户名")
    @ColumnPlus(default_val = "''", length = "50")
    private String username;

    @Notes("密码")
    @ColumnPlus(default_val = "''", length = "50")
    private String password;

    @Notes("开发厂商")
    @ColumnPlus(default_val = "''", length = "20")
    private String factory;

    @Notes("售后联系方式")
    @ColumnPlus(default_val = "''", length = "20")
    private String customer_service_mobile;

    @Notes("备注")
    @ColumnPlus(default_val = "''", length = "200")
    private String remark;
}


